Globbing: File name wildcard (whole file name match, not part)Match pattern: metacharacters*: matches any character of any lengthpa*, *pa*, *pa, *p*a*PA, PAA, passwd?: matches any single characterPa??? PA, P?a, P?a?PA, PAA, passwd[]: matches any
A wildcard is handled by the shell, and it appears only in the parameters of the command (it is not used in the command name or on the operator). When the shell encounters a wildcard in parameters, the shell treats it as a path or file name to
Shell is like the editor: everyone has their own choice and tries to defend the choice and tell you why it should be used ). Indeed, shell provides different functions, but they all implement the core concept of development decades ago.
I used
Shell is like the editor: everyone has their own choice and tries to defend the choice (it also tells you why the choice should be used ). Indeed, s
Shell is like the editor: everyone has their own choice and tries to defend the choice (it also
First, Shell historyThe role of the shell is to explain the execution of the user's commands, the user enters a command, the shell interprets the execution of one, which is called Interactive (Interactive), and the shell has a way of executing the
https://www.zhihu.com/question/21418449Mort | Zsh vs. Bash: Incomplete contrast resolution (1) 2014-10-07BdpqlxzWhat's the difference between zsh and bash?A lot of people have written about "why zsh is better than bash", "Why zsh is better than
I. Basic Shell syntax1. VariablesBy convention, Shell variables are composed of uppercase letters and underscores (_). There are two types of Shell variables:Environment VariableEnvironment variables can be transmitted from the parent process to the
Execute scriptWrite a simple script test.sh:#! /bin/shCD. LSThe shell script uses # notation, which corresponds to the C//comment. However, if # is at the beginning of the first line and is #! (called shebang), the exception is that the script uses
I. Shell INTRODUCTIONThe role of the shell is to explain the execution of the user's command, the user enters a command, the shell executes one, which is called Interactive, the shell has a way to execute the command is batch processing, the user
The Bourne shell
when Unix was first born, it had a very basic shell written by Ken Thompson, one of the creators of UNIX. the Bourne shell was written by Steve Bourne in 1979 as a Scriptable Unix shell. all other shells have a prefix to qualify
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.